//
//  NetRequest.h
//  项目三
//
//  Created by rimi1 on 2016/11/25.
//  Copyright © 2016年 Wangxingqian. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef void(^Succeed)(id response);
typedef void(^Failure)(NSError *error);

@interface NetRequest : NSObject

+ (void)getRequestWithUrl:(NSString *)url
                parameter:(NSDictionary *)parameter
                  succeed:(Succeed)succeed
                  failure:(Failure)failure;


@end










